package top.huhuiyu.teachproject.anno;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface BucketLimit {
  int timeout() default 60;

  String key() default "";

  int limit() default 10;

  String message() default "操作次数到达极限，请稍后重试";
}
